package com.fly.common.request.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;


/**
 * @description 修改用户请求对象
 * @author: fly
 * @date: 2018/11/21 15:36
 */
@Data
public class UpdateUserRequest {
    @ApiModelProperty(value = "主键")
    @NotNull(message = "主键不能为空")
    private Long userId;
    @ApiModelProperty(value = "账户")
    @NotNull(message = "账户不能为空")
    private String userName;
    @ApiModelProperty(value = "姓名")
    @NotNull(message = "姓名不能为空")
    private String realName;
    @ApiModelProperty(value = "密码")
    @NotNull(message = "密码不能为空")
    private String password;
    @ApiModelProperty(value = "电话")
    @NotNull(message = "电话不能为空")
    private String mobile;
    @ApiModelProperty(value = "地址")
    @NotNull(message = "地址不能为空")
    private String address;
    @ApiModelProperty(value = "工号")
    @NotNull(message = "工号不能为空")
    private String workNum;
}
